package extend05;
class Father{
    public void show(){
        System.out.println("Father");
    }
}

class Son extends Father{
    public void show() {
        super.show();//通过super调用父类的成员方法
        System.out.println("Son");
    }
}
public class Demo02 {
    public static void main(String[] args) {
        Son son = new Son();
        son.show();

    }
}
